<?php
/**
 * 订单发货
 * (rakuten-model)
 */

namespace App\Models\Rakuten;

use Illuminate\Database\Eloquent\Model;

class RakutenOrderShipping extends Model {

    protected $connection = 'mysql_rakuten';

    protected $table = 'rakuten_orders_shipping';

    protected $guarded  = [];

    public function rakuten_orders_shipping_details(){
        return $this->hasMany(RakutenOrderShippingDetails::class, 'basket_id', 'basket_id');
    }

}
